package com.duan.laugh.event.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 后续事件
 * </p>
 *
 * @author liutf
 * @since 2019-11-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("after_event")
@ApiModel(value = "AfterEvent对象", description = "后续事件")
public class AfterEvent implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "事件处理规则id")
    private Long eventHandlerRuleId;

    @ApiModelProperty(value = "延迟")
    private Integer delay;

    @ApiModelProperty(value = "后续事件条件")
    private String afterEventCondition;

    @ApiModelProperty(value = "事件模型id")
    private Long eventModelId;


}
